package com.silverbox.waimai.entity;

import java.io.Serializable;
import java.util.Date;

/**
box_waimai_item
 */
public class WaimaiItem implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 5390456972430916628L;

	/**
     */
    private Long id;

    /**
     */
    private Long itemId;

    /**
     * 购买数量
     */
    private Double buyCount;

    /**
     * 购买金额
     */
    private Double buyPrice;

    /**
     * 是否打包
     */
    private String goodsDesc;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 商品图片
     */
    private String goodsImg;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 是否打印
     */
    private Byte isPrint;

    /**
     * 订单项数量
     */
    private Byte num;

    /**
     * 原始价格
     */
    private Double originalPrice;

    /**
     * 优惠描述
     */
    private String promotionDesc;

    /**
     * 优惠编号
     */
    private Long promotionId;

    /**
     * 优惠名称
     */
    private String promotionName;

    /**
     * 优惠类型
     */
    private Integer promotionType;

    /**
     * 属性分类id
     */
    private String classId;

    /**
     * 属性分类名称
     */
    private String className;

    /**
     * 属性id
     */
    private String propId;

    /**
     * 属性名称
     */
    private String propName;

    /**
     * 属性价格
     */
    private Double propPrice;

    /**
     */
    private String propValue;

    /**
     * 属性描述
     */
    private String propDesc;

    /**
     * 尺寸类别
     */
    private String sizeType;

    /**
     */
    private String typeId;

    /**
     */
    private String typeName;

    /**
     * 订单编号（关联订单表）
     */
    private Long waimaiId;

    /**
     * 商品分类名称
     */
    private String categoryName;

    /**
     * 是否加菜
     */
    private Integer isAdd;

    /**
     * 是否退款
     */
    private Integer isRefund;

    /**
     * 是否称重
     */
    private Integer isWeight;

    /**
     * 备注
     */
    private String remark;

    /**
     */
    private Integer isNotshowSize;

    /**
     */
    private Long sizeId;

    /**
     */
    private Double bagPrice;

    /**
     * 赠送菜品数量标记
     */
    private Double give;

    /**
     * 第三方系统商品编号
     */
    private String outGoodsId;

    /**
     * 退菜数量标记
     */
    private Double refundCount;

    /**
     * 是否套餐(0不是  1普通套餐  2 组合套餐(包含明细))
     */
    private Integer isPackage;
    
    /**
     * 子店铺id
     */
    private Integer storeId;
    
    /**
     * 主店铺id
     */
    private Integer shopId;
    
    /**
     * 系统用户编号
     */
    private Long thirdUserInfoId;
    
    /**
     * 订单号
     */
    private String orderNum;

    /**
     * 创建时间
     */
    private Date createTime;
    
    /**
     * 修改时间
     */
    private Date updateTime;
    
    /**
     * 订单项编号
     */
    private String itemNum;
    
    /**
     * 是否必点菜 0非必点,1必点菜
     */
    private Integer mustOrder;
    
    /**
     * 口碑正餐后付批次号
     */
    private String batchNo;
    
    /**
     * 是否已支付
     */
    private Integer payStatus;

    /**
     * 订单状态
     */
    private Integer status;
    
    /**
     * KDS智慧餐厅上菜数量
     */
    private double servingCount;
    
    /**
     * KDS智慧餐厅是否制作中商品
     */
    private Integer makeStatus;
    
    /**
     * 订单菜品唯一编号
     */
    private String guid;
    
    /**
     * 操作人员类型(CUSTOMER：顾客点餐；WAITER：服务员；CASHIER：收银员)
     */
    private String operatorType;

    /**
     * 操作人员工号(如果是顾客操作，不需要保存)
     */
    private String operatorNum;

    /**
     * 操作人员昵称或姓名
     */
    private String operatorNick;
    
    /**
     * 加价做法
     */
    private String propDetail;
    
    /**
     * 会员价
     */
    private Double memberPrice;

    //优惠码
    private String couponCode;

    public String getCouponCode() {
        return couponCode;
    }

    public WaimaiItem setCouponCode(String couponCode) {
        this.couponCode = couponCode;
        return this;
    }

    //    /**
//     * 优惠金额
//     **/
//    private Double promotionPrice;

//    public Double getPromotionPrice() {
//        return promotionPrice;
//    }
//
//    public WaimaiItem setPromotionPrice(Double promotionPrice) {
//        this.promotionPrice = promotionPrice;
//        return this;
//    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Double getBuyCount() {
        return buyCount;
    }

    public void setBuyCount(Double buyCount) {
        this.buyCount = buyCount;
    }

    public Double getBuyPrice() {
        return buyPrice;
    }

    public void setBuyPrice(Double buyPrice) {
        this.buyPrice = buyPrice;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc == null ? null : goodsDesc.trim();
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg == null ? null : goodsImg.trim();
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public Byte getIsPrint() {
        return isPrint;
    }

    public void setIsPrint(Byte isPrint) {
        this.isPrint = isPrint;
    }

    public Byte getNum() {
        return num;
    }

    public void setNum(Byte num) {
        this.num = num;
    }

    public Double getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Double originalPrice) {
        this.originalPrice = originalPrice;
    }

    public String getPromotionDesc() {
        return promotionDesc;
    }

    public void setPromotionDesc(String promotionDesc) {
        this.promotionDesc = promotionDesc == null ? null : promotionDesc.trim();
    }

    public Long getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(Long promotionId) {
        this.promotionId = promotionId;
    }

    public String getPromotionName() {
        return promotionName;
    }

    public void setPromotionName(String promotionName) {
        this.promotionName = promotionName == null ? null : promotionName.trim();
    }

    public Integer getPromotionType() {
        return promotionType;
    }

    public void setPromotionType(Integer promotionType) {
        this.promotionType = promotionType;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId == null ? null : classId.trim();
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className == null ? null : className.trim();
    }

    public String getPropId() {
        return propId;
    }

    public void setPropId(String propId) {
        this.propId = propId == null ? null : propId.trim();
    }

    public String getPropName() {
        return propName;
    }

    public void setPropName(String propName) {
        this.propName = propName == null ? null : propName.trim();
    }

    public Double getPropPrice() {
        return propPrice;
    }

    public void setPropPrice(Double propPrice) {
        this.propPrice = propPrice;
    }

    public String getPropValue() {
        return propValue;
    }

    public void setPropValue(String propValue) {
        this.propValue = propValue == null ? null : propValue.trim();
    }

    public String getPropDesc() {
        return propDesc;
    }

    public void setPropDesc(String propDesc) {
        this.propDesc = propDesc == null ? null : propDesc.trim();
    }

    public String getSizeType() {
        return sizeType;
    }

    public void setSizeType(String sizeType) {
        this.sizeType = sizeType == null ? null : sizeType.trim();
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId == null ? null : typeId.trim();
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    public Long getWaimaiId() {
        return waimaiId;
    }

    public void setWaimaiId(Long waimaiId) {
        this.waimaiId = waimaiId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName == null ? null : categoryName.trim();
    }

    public Integer getIsAdd() {
        return isAdd;
    }

    public void setIsAdd(Integer isAdd) {
        this.isAdd = isAdd;
    }

    public Integer getIsRefund() {
        return isRefund;
    }

    public void setIsRefund(Integer isRefund) {
        this.isRefund = isRefund;
    }

    public Integer getIsWeight() {
        return isWeight;
    }

    public void setIsWeight(Integer isWeight) {
        this.isWeight = isWeight;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getIsNotshowSize() {
        return isNotshowSize;
    }

    public void setIsNotshowSize(Integer isNotshowSize) {
        this.isNotshowSize = isNotshowSize;
    }

    public Long getSizeId() {
        return sizeId;
    }

    public void setSizeId(Long sizeId) {
        this.sizeId = sizeId;
    }

    public Double getBagPrice() {
        return bagPrice;
    }

    public void setBagPrice(Double bagPrice) {
        this.bagPrice = bagPrice;
    }

    public Double getGive() {
        return give;
    }

    public void setGive(Double give) {
        this.give = give;
    }

    public String getOutGoodsId() {
        return outGoodsId;
    }

    public void setOutGoodsId(String outGoodsId) {
        this.outGoodsId = outGoodsId == null ? null : outGoodsId.trim();
    }

    public Double getRefundCount() {
        return refundCount;
    }

    public void setRefundCount(Double refundCount) {
        this.refundCount = refundCount;
    }

    public Integer getIsPackage() {
        return isPackage;
    }

    public void setIsPackage(Integer isPackage) {
        this.isPackage = isPackage;
    }

	public Integer getStoreId() {
		return storeId;
	}

	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}

	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	public Long getThirdUserInfoId() {
		return thirdUserInfoId;
	}

	public void setThirdUserInfoId(Long thirdUserInfoId) {
		this.thirdUserInfoId = thirdUserInfoId;
	}

	public String getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(String orderNum) {
		this.orderNum = orderNum;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getItemNum() {
		return itemNum;
	}

	public void setItemNum(String itemNum) {
		this.itemNum = itemNum;
	}

	public Integer getMustOrder() {
		return mustOrder;
	}

	public void setMustOrder(Integer mustOrder) {
		this.mustOrder = mustOrder;
	}

	public String getBatchNo() {
		return batchNo;
	}

	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public double getServingCount() {
		return servingCount;
	}

	public void setServingCount(double servingCount) {
		this.servingCount = servingCount;
	}

	public Integer getMakeStatus() {
		return makeStatus;
	}

	public void setMakeStatus(Integer makeStatus) {
		this.makeStatus = makeStatus;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getOperatorType() {
		return operatorType;
	}

	public void setOperatorType(String operatorType) {
		this.operatorType = operatorType;
	}

	public String getOperatorNum() {
		return operatorNum;
	}

	public void setOperatorNum(String operatorNum) {
		this.operatorNum = operatorNum;
	}

	public String getOperatorNick() {
		return operatorNick;
	}

	public void setOperatorNick(String operatorNick) {
		this.operatorNick = operatorNick;
	}

	public String getPropDetail() {
		return propDetail;
	}

	public void setPropDetail(String propDetail) {
		this.propDetail = propDetail;
	}

	public Double getMemberPrice() {
		return memberPrice;
	}

	public void setMemberPrice(Double memberPrice) {
		this.memberPrice = memberPrice;
	}

    @Override
    public String toString() {
        return "WaimaiItem{" +
                "id=" + id +
                ", itemId=" + itemId +
                ", buyCount=" + buyCount +
                ", buyPrice=" + buyPrice +
                ", goodsDesc='" + goodsDesc + '\'' +
                ", goodsId=" + goodsId +
                ", goodsImg='" + goodsImg + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", isPrint=" + isPrint +
                ", num=" + num +
                ", originalPrice=" + originalPrice +
                ", promotionDesc='" + promotionDesc + '\'' +
                ", promotionId=" + promotionId +
                ", promotionName='" + promotionName + '\'' +
                ", promotionType=" + promotionType +
                ", classId='" + classId + '\'' +
                ", className='" + className + '\'' +
                ", propId='" + propId + '\'' +
                ", propName='" + propName + '\'' +
                ", propPrice=" + propPrice +
                ", propValue='" + propValue + '\'' +
                ", propDesc='" + propDesc + '\'' +
                ", sizeType='" + sizeType + '\'' +
                ", typeId='" + typeId + '\'' +
                ", typeName='" + typeName + '\'' +
                ", waimaiId=" + waimaiId +
                ", categoryName='" + categoryName + '\'' +
                ", isAdd=" + isAdd +
                ", isRefund=" + isRefund +
                ", isWeight=" + isWeight +
                ", remark='" + remark + '\'' +
                ", isNotshowSize=" + isNotshowSize +
                ", sizeId=" + sizeId +
                ", bagPrice=" + bagPrice +
                ", give=" + give +
                ", outGoodsId='" + outGoodsId + '\'' +
                ", refundCount=" + refundCount +
                ", isPackage=" + isPackage +
                ", storeId=" + storeId +
                ", shopId=" + shopId +
                ", thirdUserInfoId=" + thirdUserInfoId +
                ", orderNum='" + orderNum + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", itemNum='" + itemNum + '\'' +
                ", mustOrder=" + mustOrder +
                ", batchNo='" + batchNo + '\'' +
                ", payStatus=" + payStatus +
                ", status=" + status +
                ", servingCount=" + servingCount +
                ", makeStatus=" + makeStatus +
                ", guid='" + guid + '\'' +
                ", operatorType='" + operatorType + '\'' +
                ", operatorNum='" + operatorNum + '\'' +
                ", operatorNick='" + operatorNick + '\'' +
                ", propDetail='" + propDetail + '\'' +
                ", memberPrice=" + memberPrice +
                '}';
    }
}